package com.empire.module.member.controller.admin.mappolygonpoint.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@Schema(description = "点-in-多边形判断请求VO")
public class PointInPolygonReqVO {

    @Schema(description = "目标配置ID（可选，为空则判断所有配置）")
    private String configId;

    @Schema(description = "点经度", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "点经度不能为空")
    private Double lng;

    @Schema(description = "点纬度", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "点纬度不能为空")
    private Double lat;

    @Schema(description = "对应详细地址", requiredMode = Schema.RequiredMode.REQUIRED)
    private String address;

    @Schema(description = "人员ID")
    private Long personId;

    @Schema(description = "证件号码")
    private String idcard;

    @Schema(description = "位置时间")
    private String locateTime;
}
